package ru.nsu.fit.client.core.response;

import java.util.ArrayList;

public class QuestionStat {
    int id;
    String text;
    private ArrayList<String> answers = null;
    private ArrayList<Integer> answerIds = null;
    private ArrayList<Integer> answerHits = null;
    private long lifetime;
    private int income;
    private boolean isMine;

    public QuestionStat(final int id, final String text, final int lifetime)
    {
        this.id = id;
        this.text = text;
        this.lifetime = lifetime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public ArrayList<String> getAnswers() {
        return answers;
    }

    public void setAnswers(ArrayList<String> answers) {
        this.answers = answers;
    }

    public ArrayList<Integer> getAnswerIds() {
        return answerIds;
    }

    public void setAnswerIds(ArrayList<Integer> answerIds) {
        this.answerIds = answerIds;
    }

    public ArrayList<Integer> getAnswerHits() {
        return answerHits;
    }

    public void setAnswerHits(ArrayList<Integer> answerHits) {
        this.answerHits = answerHits;
    }

    public long getLifetime() {
        return lifetime;
    }

    public void setLifetime(long lifetime) {
        this.lifetime = lifetime;
    }

    public int getIncome() {
        return income;
    }

    public void setIncome(int income) {
        this.income = income;
    }

    public boolean isMine() {
        return isMine;
    }

    public void setMine(boolean mine) {
        isMine = mine;
    }
}
